package com.mg.smarttask.client;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface NoteServiceAsync {
	
	@SuppressWarnings("rawtypes")
	void getNotesList(long userId, AsyncCallback<List> callback);
	
	void createNote(Note note, AsyncCallback<Boolean> callback);
	
	void editNote(Note note, AsyncCallback<Boolean> callback);
	
	void deleteNote(Note note, AsyncCallback<Void> callback);
}
